package com.alispring.cloud.demo.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (Order)实体类
 *
 * @author makejava
 * @since 2020-04-05 09:01:40
 */
public class Order implements Serializable {
    private static final long serialVersionUID = 187588005888971225L;
    
    private Long id;
    
    private String comment;
    
    private Date createTime;
    
    private Integer userId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", comment='" + comment + '\'' +
                ", createTime=" + createTime +
                ", userId=" + userId +
                '}';
    }
}